Many species observations in the Atlas of Living Australia are collected opportunistically, where people record them incidentally rather than through a recurring monitoring program. Most of these observations are thanks to citizen scientists, and they account for more than 75% of the total records in the ALA.
Because opportunistic observations are incidental, their collection can fluctuate for reasons unrelated to the species itself. It might be rainy, it might be too hot, the area might be inaccessible or people’s phone batteries might be low. All of these factors can affect whether people record a species observation or not.
The COVID-19 pandemic is one of the most influential global events in the last century. It not only had a major impact on people’s health, but their behaviour and travel as well. Lockdowns placed regulations on when and where people could move and the activities they chose to do.
In Australia, Melbourne experienced the longest continuous lockdown in the world along with several shorter lockdowns over 2020-2021. It’s very likely this had a big influence on the data collected over that time, particularly of species usually recorded in local areas when people are on walks or having outdoor gatherings. However, to what extent COVID-19 might have affected the collection of species observations is not totally clear.
Here, we’ll investigate whether the number of ducks recorded in Melbourne significantly different in the COVID-19 lockdown periods of 2020-21 compared to previous years.
Get data
First, let’s load the needed packages:
# Load packages
library(galah)
library(tidyverse)
library(lubridate)
library(grid)
library(ggplot2)
library(pilot) # remotes::install_github("olihawkins/pilot")
library(showtext)To do this, we break our data down into weekly occurrence records as this provides a fine level of detail without the extra noise of daily variation in the final product.
Expand for session info
─ Session info ───────────────────────────────────────────────────────────────
setting value
version R version 4.2.2 (2022-10-31 ucrt)
os Windows 10 x64 (build 19044)
system x86_64, mingw32
ui RTerm
language (EN)
collate English_Australia.utf8
ctype English_Australia.utf8
tz Australia/Sydney
date 2023-03-09
pandoc 2.19.2 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)
─ Packages ───────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
dplyr * 1.1.0 2023-01-29 [1] CRAN (R 4.2.2)
forcats * 1.0.0 2023-01-29 [1] CRAN (R 4.2.2)
galah * 1.5.1 2023-02-21 [1] Github (AtlasOfLivingAustralia/galah@bd43dd2)
ggplot2 * 3.4.1 2023-02-10 [1] CRAN (R 4.2.2)
htmltools * 0.5.4 2022-12-07 [1] CRAN (R 4.2.2)
lubridate * 1.9.2 2023-02-10 [1] CRAN (R 4.2.2)
pilot * 4.0.0 2022-07-13 [1] Github (olihawkins/pilot@f08cc16)
purrr * 1.0.1 2023-01-10 [1] CRAN (R 4.2.2)
readr * 2.1.4 2023-02-10 [1] CRAN (R 4.2.2)
sessioninfo * 1.2.2 2021-12-06 [1] CRAN (R 4.2.1)
showtext * 0.9-5 2022-02-09 [1] CRAN (R 4.2.1)
showtextdb * 3.0 2020-06-04 [1] CRAN (R 4.2.1)
stringr * 1.5.0 2022-12-02 [1] CRAN (R 4.2.2)
sysfonts * 0.8.8 2022-03-13 [1] CRAN (R 4.2.1)
tibble * 3.1.8 2022-07-22 [1] CRAN (R 4.2.1)
tidyr * 1.3.0 2023-01-24 [1] CRAN (R 4.2.2)
tidyverse * 2.0.0 2023-02-22 [1] CRAN (R 4.2.2)
[1] C:/Users/KEL329/R-packages
[2] C:/Users/KEL329/AppData/Local/Programs/R/R-4.2.2/library
──────────────────────────────────────────────────────────────────────────────